package org.hive.plugin.videoswf
{
	import flash.events.EventDispatcher;
	import flash.display.FrameLabel;
	import flash.events.IEventDispatcher;


	public class VideoSWFFrameLabel extends EventDispatcher
	{
        private var __videoSWF:VideoSWF;

		private var frameLabel : FrameLabel;
		
		public function VideoSWFFrameLabel( fLabel:FrameLabel, target:IEventDispatcher=null )
		{
			super(target);
			frameLabel = fLabel;
		}
		
		public function get frame():Number
		{
			return frameLabel.frame;
		}
		
		public function get name():String
		{
			return frameLabel.name;
		}
		
        public function get videoSWF( ):VideoSWF
        {
            return __videoSWF;
        }

        public function set videoSWF( video:VideoSWF )
        {
            __videoSWF = video;
        }

        internal function set parentVideoSWF( video:VideoSWF )
        {
            __videoSWF = video;
        }
	}
}